Skip to contentSkip to conversation

New: Kernel hangs on boot without nomodeset option

Bug 83792 [email protected] 1 participant 16 messages Sep 12, 2014 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=83792

Priority: medium
Bug ID: 83792
Assignee: [email protected]
Summary: Kernel hangs on boot without nomodeset option
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI

Hi all. I have a Radeon FireMV 2400. I'm attempting to upgrade from Fedora 13 (kernel 2.6.33) to Fedora 20. More recent kernels have not worked for me; I recently discovered that if I use the nomodeset option, then I can book, but xorg no longer functions. Since it seems that using the nomodeset option is no longer going to be supported, I need to make this work without the nomodeset option. Unfortunately, the computer hangs (no ping via network) during boot. I tried to give it the netconsole option, but this did not seem to produce any results. What else can I try to help resolve this problem?

Thanks,

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #1 from Alex Deucher <[email protected]> ---
Can you elaborate on what "not worked" means? Blank screen, corruption, hangs?
Are you able to access the machine remotely? If so, can you attach your xorg
log and dmesg output with the radeon driver loaded? Can you bisect the kernel to determine what commit broke your card?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #2 from Tim Nelson <[email protected]> --- Regarding "not worked", these kernels have always hung on boot with a blank screen; most of these are from my attempts to upgrade to various different versions of Fedora between 13 (currently working for me) and 20 (the one I'm attempting to install now). I suspect that these kernels weren't being passed the "nomodeset" option by default, but I have no evidence of that, and I don't plan to go back and look unless it becomes necessary, since I want to get the Fedora 20 kernel working, rather than the intermediate ones.

When I boot the machine (after removing the "quiet rhgb" options, and adding "debug"), the machine spits out a bunch of log messages that scroll too quickly for me to see, and then the screens go blank (the LCD one displaying the message "No Signal"), and I can't access the machine remotely at that point; unfortunately this means that I also can't post the relevant dmesg and xorg information. I think the machine is hanging before the network card is enabled, although I will try to double-check that.

As for bisecting the kernel, I can have a go, but I suspect it will be the original KMS commit.

Thanks for the time you've put into this. I'll have some more time to put into it later, but probably not for another week or two, unfortunately.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #3 from Christian König <[email protected]> --- Well the nomodeset option only makes sense with the UMS support and that was deprecated in January 2013.

So as long as Fedora 20 doesn't compile their kernels with a deprecated feature they probably won't support nomodeset any more.

Without any logs it would be rather hard to figure out what's going wrong here.

So is there a possibility to attach for example a serial or network console to grab the last few lines of system log before the machine goes into nirvana?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #4 from Alex Deucher <[email protected]> ---
Can you also try blacklisting radeon and loading it after the box has booted and you have remote access? E.g., append modprobe.blacklist=radeon 3 to the kernel command line in grub (the 3 is to boot into runlevel 3 so X doesn't start). Then once the system is booted and you have remote access, as root,
run: modprobe radeon
and see if you can get the dmesg output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #5 from Tim Nelson <[email protected]> ---
Just reporting back; blacklisting radeon as Alex specifies allows the machine to boot. "modprobe radeon" after boot makes it die. Unfortunately I only had a little time to put into it, so that's all my results at the moment, but I hope to put more time into it in the next couple of days.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #6 from Tim Nelson <[email protected]> --- Created attachment 107113
--> https://bugs.freedesktop.org/attachment.cgi?id=107113&action=edit
Kernel messages, round 1

Good news; I have some kernel messages to attach. These were gained using netconsole, which was on another machine. It seems to me that it detects the radeon FireMV2400 (although it never mentions it by name), and detects two of the four connectors (I'm assuming two that are connected to the same chip; this card has 2 chips with 2 displays each; total of 4 displays).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #7 from Tim Nelson <[email protected]> ---
Anyway, it looks like I was wrong about the kernel modesetting; I think this is a side-effect of the more modern radeon driver not supporting nomodeset. So it's just a bug in the radeon driver, pure and simple. So now I suspect I have to do a kernel bisect. If you have any other advice, though, let me know.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #8 from Alex Deucher <[email protected]> --- (In reply to comment #6)

Quoted 8 lines

Created attachment 107113 [details]
Kernel messages, round 1

Good news; I have some kernel messages to attach. These were gained using netconsole, which was on another machine. It seems to me that it detects the radeon FireMV2400 (although it never mentions it by name), and detects two of the four connectors (I'm assuming two that are connected to the same chip; this card has 2 chips with 2 displays each; total of 4 displays).

If netconsole works, can you get remote access to the box (e.g., ssh) as well or does it hang completely?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #9 from Tim Nelson <[email protected]> --- OK, I've narrowed it down quite a bit.

The kernel which Fedora (18) calls kernel-debug-3.6.10-4.fc18.x86_64 works. Xorg segfaults, but the radeon module successfully loads. The kernel which Fedora (19) calls kernel-debug-3.9.5-301.fc19.x86_64 crashes the machine.

Anyway, I will do some more narrowing down, and I'll try ssh access as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #10 from Tim Nelson <[email protected]> ---
OK, another report. First, when it locks up, there is no ssh access possible; it doesn't even ping.

Second, I've narrowed it down this far:

Working: kernel-debug-3.6.11-3.fc18.x86_64 Not working: config-3.7.0-0.rc0.git2.4.fc19.x86_64

Those kernel version numbers are the RPM packages that I installed.

Third, I grabbed a copy of the dmesg messages on the working kernel, so that we can see what happened immediately after the place where the crash was introduced. These may also be enlightening. I'll attach them.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #11 from Tim Nelson <[email protected]> --- Created attachment 107982
--> https://bugs.freedesktop.org/attachment.cgi?id=107982&action=edit
Kernel messages, last working version (3.6.11)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #12 from Tim Nelson <[email protected]> ---
Oh, one more comment - is there anything else I can do to help track down this bug further?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #13 from Tim Nelson <[email protected]> ---
Hmm. Just noticed that that one kernel version number says "config" at the start instead of "kernel". That's because I got the version number from the config file in /boot.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

--- Comment #14 from Alex Deucher <[email protected]> --- (In reply to Tim Nelson from comment #12)

Quoted 2 lines

Oh, one more comment - is there anything else I can do to help track down this bug further?

Ideally you could use git to bisect between 3.6 and 3.7 to see what change caused the regression.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 83792] Kernel hangs on boot without nomodeset option

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83792

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #15 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/530.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel